class UserGroup < ActiveRecord::Base
	
	attr_accessible :name, :description, :created_by, :updated_by
	
	translates :description
	
	# Validations:
	validates :name, presence: true
	
    # Relationships:
	has_many :users
	has_and_belongs_to_many :permissions
	
end
